package com.gemcoder.system.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;
import javax.servlet.http.HttpServletRequest;
import java.io.File;
import java.util.Map;
import javax.annotation.Resource;
import com.gemcoder.system.bo.Result;
import com.gemcoder.system.service.RevenuedatareportingService;
import cn.hutool.core.util.StrUtil;
import java.util.Map;
import cn.hutool.core.util.ObjectUtil;

@Controller
@RequestMapping("/Revenuedatareporting")
public class RevenuedatareportingController {

    @Resource
    private RevenuedatareportingService RevenuedatareportingService;

    @RequestMapping(value = "/getAllProjectNames")
    @ResponseBody
    public Result getAllProjectNames(@RequestBody(required = false) Map<String, Object> paramMap) {
        //如果有需要校验的入参, 请在这里补充代码进行校验
        //调用service层的代码
        return RevenuedatareportingService.getAllProjectNames(paramMap);
    }

    @RequestMapping(value = "/getOperationalDataDetails")
    @ResponseBody
    public Result getOperationalDataDetails(@RequestBody(required = false) Map<String, Object> paramMap) {
        //如果有需要校验的入参, 请在这里补充代码进行校验
        //调用service层的代码
        return RevenuedatareportingService.getOperationalDataDetails(paramMap);
    }

    @RequestMapping(value = "/getDrugUsageInfo")
    @ResponseBody
    public Result getDrugUsageInfo(@RequestBody(required = false) Map<String, Object> paramMap) {
        //如果有需要校验的入参, 请在这里补充代码进行校验
        //调用service层的代码
        return RevenuedatareportingService.getDrugUsageInfo(paramMap);
    }

    @RequestMapping(value = "/getDrugData")
    @ResponseBody
    public Result getDrugData(@RequestBody(required = false) Map<String, Object> paramMap) {
        //如果有需要校验的入参, 请在这里补充代码进行校验
        //调用service层的代码
        return RevenuedatareportingService.getDrugData(paramMap);
    }

    @RequestMapping(value = "/updateOperationalData")
    @ResponseBody
    public Result updateOperationalData(@RequestBody(required = false) Map<String, Object> paramMap) {
        //如果有需要校验的入参, 请在这里补充代码进行校验
        //调用service层的代码
        return RevenuedatareportingService.updateOperationalData(paramMap);
    }

    @RequestMapping(value = "/getOperationalData")
    @ResponseBody
    public Result getOperationalData(@RequestBody(required = false) Map<String, Object> paramMap) {
        //如果有需要校验的入参, 请在这里补充代码进行校验
        //调用service层的代码
        return RevenuedatareportingService.getOperationalData(paramMap);
    }

    @RequestMapping(value = "/getProjectDrugs")
    @ResponseBody
    public Result getProjectDrugs(@RequestBody(required = false) Map<String, Object> paramMap) {
        //如果有需要校验的入参, 请在这里补充代码进行校验
        //调用service层的代码
        return RevenuedatareportingService.getProjectDrugs(paramMap);
    }

    @RequestMapping(value = "/addOperationalData")
    @ResponseBody
    public Result addOperationalData(@RequestBody(required = false) Map<String, Object> paramMap) {
        //如果有需要校验的入参, 请在这里补充代码进行校验
        //调用service层的代码
        return RevenuedatareportingService.addOperationalData(paramMap);
    }

    @RequestMapping(value = "/getDrugUsage")
    @ResponseBody
    public Result getDrugUsage(@RequestBody(required = false) Map<String, Object> paramMap) {
        //如果有需要校验的入参, 请在这里补充代码进行校验
        //调用service层的代码
        return RevenuedatareportingService.getDrugUsage(paramMap);
    }

    @RequestMapping(value = "/getProjectDrugsDNI")
    @ResponseBody
    public Result getProjectDrugsDNI(@RequestBody(required = false) Map<String, Object> paramMap) {
        //如果有需要校验的入参, 请在这里补充代码进行校验
        //调用service层的代码
        return RevenuedatareportingService.getProjectDrugsDNI(paramMap);
    }

    @RequestMapping(value = "/getAllProjectNames6HA")
    @ResponseBody
    public Result getAllProjectNames6HA(@RequestBody(required = false) Map<String, Object> paramMap) {
        //如果有需要校验的入参, 请在这里补充代码进行校验
        //调用service层的代码
        return RevenuedatareportingService.getAllProjectNames6HA(paramMap);
    }
}
